package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.TemplateGroup;
import com.zshan.clinic.database.model.TemplateGroupExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TemplateGroupMapper extends SuperMapper {
    long countByExample(TemplateGroupExample example);

    int deleteByExample(TemplateGroupExample example);

    int deleteByPrimaryKey(Long groupId);

    int insert(TemplateGroup row);

    int insertSelective(TemplateGroup row);

    List<TemplateGroup> selectByExample(TemplateGroupExample example);

    TemplateGroup selectByPrimaryKey(Long groupId);

    int updateByExampleSelective(@Param("row") TemplateGroup row, @Param("example") TemplateGroupExample example);

    int updateByExample(@Param("row") TemplateGroup row, @Param("example") TemplateGroupExample example);

    int updateByPrimaryKeySelective(TemplateGroup row);

    int updateByPrimaryKey(TemplateGroup row);
}